#ifndef ANIMATION_H_
#define ANIMATION_H_

#include "../AnimConfig.h"

class CAnimation
{
friend class Interpolator;
friend class CEntity;

private:

	std::string m_szName;
	float m_fDuration; 
	vector<TAnimBone> m_vBones;

public:

	CAnimation();
	~CAnimation();

	bool LoadAnimation(const char* szPath);
	D3DXMATRIX process(float fTime);

	const char* GetName() { return m_szName.c_str(); }
	unsigned int GetNumBones() { return m_vBones.size(); }
};

#endif